#pragma once
#include <osg/Vec3d>

#include "CmdHandler3.h"

class Ent;
class Ent2D;
class UCS;
class VerticalAxisTransformHandler : public CmdHandler3
{
	Q_OBJECT
public:
	Q_INVOKABLE VerticalAxisTransformHandler();
	~VerticalAxisTransformHandler();

	virtual void input(const QVariant& data, const QString& rawInput, CommandSource cs) override;
	std::vector<std::shared_ptr<Ent2D>> m_ent2ds;
	std::shared_ptr<Ent> m_ent3D;
	UCS* m_ucs = nullptr;
};
